import Head from './Head.vue'
import Poster from './Poster.vue'
import Search from './Search.vue'
import Intro from './Intro.vue'
import List from './List.vue'

const components = [
  Head,
  Poster,
  Search,
  Intro,
  List
]

export default {
  install(Vue) {
    components.forEach(component => {
      Vue.component('ch' + component.name, component)
    })
  }
}
